package com.dk.jwzx.bean;

import java.util.Arrays;

public class Subject{

    private String classId;
    private String className;
    private String classAddress;
    private int day;
    private int[] time;
    private Week week;
    private Teacher teacher;
    private boolean blank;

    public Subject(){
        this.blank=false;
    }

    @Override
    public String toString() {
        return "Subject{" +
                "classId='" + classId + '\'' +
                ", className='" + className + '\'' +
                ", classAddress='" + classAddress + '\'' +
                ", day=" + day +
                ", time=" + Arrays.toString(time) +
                ", week=" + week +
                ", teacher=" + teacher +
                ", blank=" + blank +
                '}';
    }

    public boolean isBlank() {
        return blank;
    }

    public void setBlank(boolean blank) {
        this.blank = blank;
    }

    public Week getWeek() {
        return week;
    }

    public void setWeek(Week week) {
        this.week = week;
    }

    public int getDay() {
        return day;
    }

    public void setDay(int day) {
        this.day = day;
    }

    public String getClassId() {
        return classId;
    }

    public void setClassId(String classId) {
        this.classId = classId;
    }

    public String getClassName() {
        return className;
    }

    public void setClassName(String className) {
        this.className = className;
    }

    public String getClassAddress() {
        return classAddress;
    }

    public void setClassAddress(String classAddress) {
        this.classAddress = classAddress;
    }

    public int[] getTime() {
        return time;
    }

    public void setTime(int[] time) {
        this.time = time;
    }

    public Teacher getTeacher() {
        return teacher;
    }

    public void setTeacher(Teacher teacher) {
        this.teacher = teacher;
    }

}

